package com.woniuxy.education.service;

import com.woniuxy.education.entity.Perm;
import com.woniuxy.education.entity.Student;
import com.woniuxy.education.entity.User;

import java.util.List;

public interface UserService {
    //账号验证
    public User findUserByAccont(String account);
    //查询具体的角色
    public Student findStudent(int id);

    public User findUserAndRolesByAccont(String account);
    //查询所有菜单
    List<Perm> queryAllMenu(int id);
    //修改头像
    boolean changephone(int id,int type_id,String head_picture);

}
